package com.cn.ssm.dao;

import com.cn.ssm.model.UserInfo;
import com.cn.ssm.model.UserInfoExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface UserInfoMapper {
    int countByExample(UserInfoExample example);

    int deleteByExample(UserInfoExample example);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    List<UserInfo> selectByExample(UserInfoExample example);

    int updateByExampleSelective(@Param("record") UserInfo record, @Param("example") UserInfoExample example);

    int updateByExample(@Param("record") UserInfo record, @Param("example") UserInfoExample example);

    UserInfo selectByKeys(UserInfo userinfo);

    List<Map<String,Object>> selectBySeques(@Param("sequencenum") String sequencenum);

    List<Map<String,Object>> selectRoleBySeques(@Param("sequencenum") String sequencenum);

    UserInfo selectByname(@Param("username") String username);


}